package com.rdxer.api.para;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class UpdateAccountPara {

    @NotNull
    @JsonSerialize(using= ToStringSerializer.class)
    private String id;

    @NotBlank
    private String displayName;

    private String avatar;

    private String password;

    // 入职时间
    private Long entryDate;

    // (0 deptid 1 roleid)
    private List<List<Long>> ddrList;


}
